package com.cg.service.impl;

import com.cg.entity.Branch;
import com.cg.dao.BranchMapper;
import com.cg.service.BranchService;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * (Branch)表服务实现类
 *
 * @author chengong
 * @since 2024-01-07 12:17:12
 */
@Service("branchService")
public class BranchServiceImpl implements BranchService {
    @Resource
    private BranchMapper branchMapper;


    /**
     * 加载所有院区
     */
    @Override
    public List<Branch> queryBranchList() {
        return branchMapper.queryBranchList();
    }
}
